﻿using System.Collections.Generic;

namespace Common.DataModels;

public class TreeModel
{
    public string Type { get; }
    public string Label { get;}

    public long Id { get; }
    public bool Disabled { get; }
    public string Extra1 { get; }
    public string Extra2 { get; }

    public List<TreeModel> Children { get;}

    public TreeModel(long id, string type, string label,bool disabled, string extra1, string extra2, List<TreeModel> children)
    {
        Type = type;
        Label = label;
        Id = id;
        Disabled = disabled;
        Extra1 = extra1;
        Extra2 = extra2;
        Children = children;
    }
}